import babel from 'rollup-plugin-babel'
import resolve from '@rollup/plugin-node-resolve'
export default {
  input: './src/index.js', //入口
  output: { // 出口
    file: './dist/vue.js',
    name: 'Vue',
    format: 'umd',
    sourcemap: true,
  },
  plupins: [
    babel({
      exclude: 'node_modules/**' //打包时排除node_modules文件夹下的文件
    }),
    resolve()
  ]
}